Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use @typescript-eslint's most robust rules. #4670

Merged
merged 5 commits into from
Oct 18, 2024
Merged

Conversation

shauns
Copy link
Contributor

@shauns shauns commented Oct 17, 2024

Building on the previous strictness boost, enables type-aware rules. Some of these are set to warnings.

…stylistic-type-checked

Some of these enabled rules are set to warnings
Copy link
Contributor

github-actions bot commented Oct 17, 2024

Coverage report

St.
Category Percentage Covered / Total
🟡 Statements
72.6% (-0% 🔻)
8372/11531
🟡 Branches
69.13% (+0.02% 🔼)
4110/5945
🟡 Functions 71.94% 2190/3044
🟡 Lines
72.88% (-0.03% 🔻)
7917/10863
Show files with reduced coverage 🔻
St.
File Statements Branches Functions Lines
🟢
... / device-authorization.ts
86.05% (-1.45% 🔻)
70% 100%
86.05% (-1.13% 🔻)
🟢
... / dot-env.ts
100%
93.33% (-0.42% 🔻)
100% 100%
🟢
... / spin.ts
97.5%
64% (-1.38% 🔻)
100% 97.44%
🟡
... / prerun.ts
78.13%
91.67% (-1.19% 🔻)
90% 77.42%

Test suite run success

1904 tests passing in 865 suites.

Report generated by 🧪jest coverage report action from af1238c

Base automatically changed from stricter-lint to main October 17, 2024 15:10
Copy link
Contributor

Differences in type declarations

We detected differences in the type declarations generated by Typescript for this branch compared to the baseline ('main' branch). Please, review them to ensure they are backward-compatible. Here are some important things to keep in mind:

  • Some seemingly private modules might be re-exported through public modules.
  • If the branch is behind main you might see odd diffs, rebase main into this branch.

New type declarations

We found no new type declarations in this PR

Existing type declarations

packages/cli-kit/dist/public/node/json-schema.d.ts
@@ -2,7 +2,7 @@ import { ParseConfigurationResult } from './schema.js';
 import { ErrorObject, SchemaObject } from 'ajv';
 type AjvError = ErrorObject<string, {
     [key: string]: unknown;
-}, unknown>;
+}>;
 /**
  * Normalises a JSON Schema by standardising it's internal implementation.
  *

@shauns shauns marked this pull request as ready for review October 18, 2024 08:47
@shauns shauns requested review from a team as code owners October 18, 2024 08:47
Copy link
Contributor

We detected some changes at either packages/*/src or packages/cli-kit/assets/cli-ruby/** and there are no updates in the .changeset.
If the changes are user-facing, run "pnpm changeset add" to track your changes and include them in the next release CHANGELOG.

@shauns shauns added this pull request to the merge queue Oct 18, 2024
Merged via the queue into main with commit 2e71328 Oct 18, 2024
38 checks passed
@shauns shauns deleted the very-strict-linting branch October 18, 2024 09:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants